package IC.asm.decl;


public class StringDecl extends ASMDecl {
	/**
	 * Create a label operand with a given name
	 * @param name the label name
	 */
	public StringDecl(String value) {
		super("string", 
			"\""+value.replace("\\", "\\\\")
				.replace("\"", "\\\"")
				.replace("\n", "\\n")
				.replace("\t", "\\t")+ "\"");
	}
}
